package com.smiletrain.view;

import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class ListaIntervencion extends BaseAdapter {

	public ListaIntervencion(ItemList[] values) {
		super();
		this.values = values;
	}
	
	@Override  
    public int getCount() {  
        return values.length;  
    }  

    @Override  
    public Object getItem(int position) {  
        return null;  
    }  

    @Override  
    public long getItemId(int position) {  
        return 0;  
    }  

    @Override  
    public View getView(int position, View convertView, ViewGroup parent) {  
        values[position].generateView(parent);
        return values[position].getView();
    }
    
    private final ItemList[] values;
    
}
